<extend name="Base/common" />
<block name="body">
<div class="content">
  <div class="row" style="padding:10px;">
  <foreach name="category_list" item="item">
  <div style="margin-bottom:10px;" class="col-50">
    <a style="color:#ffffff;" href="{:U('/index/index', array('cid' => $item['id']))}"><div style="border-radius:10px; background-image: url(__TOOL__/img/{$item.bg}); height:80px; line-height:80px; font-size:30px; font-weight:bold; text-align:center;">{$item.name}</div></a>
  </div>
  </foreach>
  </div>
</div>
</block>
